package com.ansion.commonchat.contact.ui;

import android.os.Bundle;
import android.view.View;

import com.ansion.baseui.base.TVPFragmentUIProxy;
import com.ansion.commonchat.R;
import com.ansion.commonchat.contact.core.ContactsPresenter;


/**
 * loading 、permission
 */
public class ContactsUIProxy extends TVPFragmentUIProxy<ContactsFragmentNew, ContactsPresenter> {

    private View loadingView;

    public ContactsUIProxy(ContactsFragmentNew contactsFragmentNew) {
        super(contactsFragmentNew);
    }

    @Override
    protected void initView(Bundle savedInstanceState) {

    }

    @Override
    protected void initData(Bundle savedInstanceState) {

    }

    public void lazyLoad() {
        loadingView = findViewById(R.id.loading_layout);
    }

    public void hideLoading() {
        if (loadingView != null)
            loadingView.setVisibility(View.GONE);
    }

}
